package cn.yym.test.service.impl;


import cn.yym.test.dao.UserDao;
import cn.yym.test.dao.impl.UserDaoImpl;
import cn.yym.test.domain.User;
import cn.yym.test.service.UserService;

/**
 * @author admin
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();

    @Override
    public User checkUser(String username, String password) {
        return userDao.checkUser(username, password);
    }
}
